#!/bin/sh
source ./load_env.sh
echo "Starting multiple IIPSRV instances..."
spawn-fcgi -p ${IIPSRV_FCGI_PORT} -n -b ${BACKLOG_SIZE} -- \
    /usr/bin/multiwatch -f ${IIPSRV_SUBPROCS} "${DIR}/bin/iipsrv.fcgi" &
echo "...done."
